Skip to content

PLT-1016 - Add methods for External Workforce management #1630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 16 commits into from

Conversation

paulnoirel
Copy link
Contributor

This PR adds three methods to manage external workforces (aka BPO organizations) from a project, in particular:

project.add_external_workforce(workforce_id)

project.remove_external_workforce(workforce_id)

project.get_external_workforces()

All three methods return a list of ExternalWorkforce associated with the project at the end of the operation or an empty list.

@paulnoirel paulnoirel marked this pull request as ready for review May 24, 2024 23:26
@paulnoirel paulnoirel requested a review from a team as a code owner May 24, 2024 23:26
@paulnoirel paulnoirel requested a review from adrian-chang May 29, 2024 18:35
@adrian-chang adrian-chang requested a review from a team May 29, 2024 20:53
Copy link
Contributor

@adrian-chang adrian-chang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments

@paulnoirel paulnoirel requested a review from adrian-chang May 31, 2024 19:18
@paulnoirel paulnoirel marked this pull request as draft June 12, 2024 12:40
@paulnoirel paulnoirel marked this pull request as ready for review June 14, 2024 10:41
Copy link

@lnash4 lnash4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so per @manuaero 's request we would not like to use the add and remove endpoints anymore, now that we have built boost requests within the product

the mutation's name is upsertProjectBoostWorkforce, this will automatically add the alignerr org as an external workforce

then if the project is properly set up, which means they have

  1. ontology configured
  2. data added
  3. there are labeling instructions for the ontology

then you can move the project to the 'REQUESTED' status with the
updateProjectBoostWorkforceStatus mutation

@paulnoirel paulnoirel marked this pull request as draft July 2, 2024 17:35
@paulnoirel
Copy link
Contributor Author

I am closing the current PR since it is not relevant with Alignerr.

@paulnoirel paulnoirel closed this Jul 25, 2024
@paulnoirel paulnoirel deleted the PNO/PLT-1016-Manage-external-workforces branch February 15, 2025 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants